﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RobotGame.ScreenManagers
{
    public class GameOneScreen : GameScreen
    {
        private frmOneView oneView;
        public override void LoadContent()
        {
            oneView = new frmOneView(this);
            oneView.LoadContent(ScreenManager.GraphicsDevice.Viewport);


            base.LoadContent();
        }

        public override void HandleInput(RobotGameData.InputState input)
        {
            base.HandleInput(input);
        }

        public override void Update(Microsoft.Xna.Framework.GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen)
        {
            oneView.Update(gameTime);
            base.Update(gameTime, otherScreenHasFocus, coveredByOtherScreen);
        }

        public override void Draw(Microsoft.Xna.Framework.GameTime gameTime)
        {
            oneView.Draw(gameTime);
            base.Draw(gameTime);
        }
    }
}
